package heima3_2.cn.osc.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;

import java.util.List;

import heima3_2.cn.osc.base.BaseHolder;
import heima3_2.cn.osc.base.MyBaseAdapter;
import heima3_2.cn.osc.hold.SyntheHotsHold;
import heima3_2.cn.osc.model.bean.GeneralNewsBean;

/**
 * Created by Administrator on 2017/1/13 0013.
 */

public class SyntheHotspotAdapter extends MyBaseAdapter<GeneralNewsBean.NewsBean> {


    public SyntheHotspotAdapter(Context context, List<GeneralNewsBean.NewsBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolder<GeneralNewsBean.NewsBean> createViewHolder(Context context, ViewGroup parent, GeneralNewsBean.NewsBean bean, int position) {
        return new SyntheHotsHold(context, parent, this, position, bean);
    }

}
